<template>

  <div>
    <!--  <el-dialog-->
    <!--  title="流程追踪"-->
    <!--  :visible.sync="dialogViewModelVisible"-->
    <!--  width="100%"-->
    <!--  :before-close="handleClose">-->
    <Viewer ref="viewer" :params="params"></Viewer>
    <span slot="footer" class="dialog-footer">

  </span>
    <!--</el-dialog>-->
  </div>
</template>


<script>
import Viewer from './components/Viewer'

export default {
  props: ['dialogViewModelVisible', 'params'],
  components: {
    Viewer
  },
  data() {
    return {};
  },
  methods: {
    handleOk() {
      this.$emit('handleViewModelVisiable', {visiable: false})
      this.$refs.modeler.saveXML();
    },
    handleClose(done) {
      this.$emit('handleViewModelVisiable', {visiable: false})
    },
  }
};
</script>
